package com.lry.future.demo2;

/**
 * @author JiangJie
 * @create 2020-11-23 13:52
 */
public interface ListenerFuture<T> {

    T get();

    boolean isDone();

    void setListener(Listener<T> listener);

    Listener<T> getListener();

}
